//
//  FixturesController.h
//  NBANews
//
//  Created by Liccon Chang on 11-1-10.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseController.h"
#import "DatePickerView.h"
#import "RacesCard.h"

@interface FixturesController : BaseController <UITableViewDelegate,UITableViewDataSource> {
	//view
	DatePickerView* iDatePicker;
	UIView* GamblingCompanyView;
	UITableView *mainTable;
	//data
	RacesCard* iRacesCard;
	NSMutableArray* iGamblingCompanys;
	NSInteger iCurrentCompany;

}

@property (nonatomic, retain) DatePickerView* iDatePicker;
@property (nonatomic, retain) UIView* GamblingCompanyView;
@property (nonatomic, retain) UITableView *mainTable;
@property (nonatomic, retain) RacesCard* iRacesCard;
@property (nonatomic, retain) NSMutableArray* iGamblingCompanys;

-(UIView*) CreateGamblingCompanyView:(CGRect) frame;
-(void) GamblingCompanyAction:(id)sender;
-(void) onCompleteSelectDate;

-(void) getRacesCard;

@end
